home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / blkpanel.h < prev    next >
C/C++ Source or Header  |  1994-10-10  |  913b  |  31 lines

  1. /*  BLKPANEL.H    Block Menu - Menu with buttons. After exiting returns number
  2.         of item in global_num. See manual for details.
  3. */
  4.  
  5. #ifndef __BLOCK_PANEL_H_
  6. #define __BLOCK_PANEL_H_
  7.  
  8. #include "blk.h"
  9. #include "iconmenu.h"
  10.  
  11. class BlockPanel : public Block
  12.     {
  13.     public:
  14.     IconMenu* menu;
  15.  
  16.     BlockPanel(rect coordinates, char* fName = "", char* h = "",
  17.            char* HOT = NULL,
  18.            int ITEMTYPE = SMALL_ICON,
  19.            int* ITEMLIST = NULL, loc ITEMDISTANCE = loc(1, 0),
  20.            rect STATUSPOS = rect(0, 0, 79, 25),
  21.            int STATUSTYPE = 0, char** STATUSSTRINGS = NULL,
  22.            int* STATUSLIST = NULL,
  23.            int res = FIXED, int s = 0,
  24.            BORDERS b_type = SHOW_BORDER, BORDERS hdr_b_type = SHOW_BORDER,
  25.            int pat = 0, int hdr_pat = 0, int elem_pat = 0,
  26.                int menu_pat = 0);
  27.     virtual void hide();
  28.     virtual void rearrange();
  29.     };
  30.  
  31. #endif __BLOCK_PANEL_H_